using UnityEngine;
using LS.UnityExtensions.Editor;
using UnityEditor;

namespace LS.GameKit.Editor
{
    [CustomEditor(typeof(EnumMatrixConfig))]
    public class EnumMatrixConfigInspector : InspectorBase
    {
        protected override bool DrawCustomInspector => false;

        public override void OnPropertyValueChanged()
        {
            base.OnPropertyValueChanged();
            EditorUtility.SetDirty(target);
            AssetDatabase.SaveAssetIfDirty(target);
        }
    }
}
